package org.zjt.chapter1.http.domain;

import lombok.Builder;
import lombok.Data;
import lombok.Getter;

/**
 * Description:
 *
 * @author juntao.zhang
 * Date: 2018-07-19 下午5:44
 * @see
 */
@Builder
@Getter
public class RequestMsg {

    private int reqType;

    private Perception perception;

    private UserInfo userInfo;


    @Builder
    @Getter
    public static  class Perception{
        private InputText inputText;
    }

    @Builder
    @Getter
    public static  class InputText{
        private String text;
    }


    @Builder
    @Getter
    public static  class UserInfo{
        private String apiKey;
        private String userId;
    }


}
